/*
* @Author: wanghongfucoder
* @Date:   2017-02-16 11:34:13
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-02-16 13:08:56
*/
import java.util.List;
import java.util.ArrayList;

class Employee {
	private  String name;
	private  String dept;
	private  int  salary;
	private  List<Employee> subordinate;
	public Employee(String name,String dept,int salary){
		this.name=name;
		this.dept=dept;
		this.salary=salary;
		subordinate=new ArrayList<Employee>();
	}

	public void add(Employee e){
		subordinate.add(e);
	}
	public void remove(Employee e){
		subordinate.remove(e);
	}
	public  List<Employee> getSubordinate(){
		return subordinate;
	}

	public String toString(){
		return ("Employee");
	}
}